<h1>FrameLabel</h1>

<p>FrameLabel defines a name for the current frame in a movie or movie clip. The 
name can be referenced from other actions such as GotoFrame2 to simplify the 
creation of scripts to control movies by using a predefined name rather 
than the frame number. The label assigned to a particular frame should be 
unique. Frames may also be reference externally when specifying the movie to 
play using a URL - similar to the way names links are used in HTML. When the Flash Player loaded a movie it will begin playing at the frame specified in the URL.</p>

<table>

<tr>
<th nowrap>Field Name</th>
<th>Type</th>
<th>Size</th>
<th>Description</th>
</tr>

<tr>
<td nowrap valign="top">type</td>
<td nowrap valign="top">unsigned bit</td>
<td nowrap valign="top" align="right">10</td>
<td>Identifies the FrameLabel instruction when it is encoded. It is encoded 
with the length field as a 16-bit integer (Little-endian byte order).</td>
</tr>

<tr>
<td nowrap valign="top">length</td>
<td nowrap valign="top">unsigned bit</td>
<td nowrap valign="top" align="right">6</td>
<td>The length in bytes of the body of the instruction when it is encoded. If the length is greater 
than 62 then this field is set to 0x3F and the length is encoded using the 
extendedLength field. Encoded with the type field as a 16-bit integer.</td>
</tr>

<tr>
<td nowrap valign="top">extendedLength</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">32</td>
<td>Optional. Contains the length in bytes of the encoded instruction if it is
greater than 62 bytes. If the length is 62 bytes or less then this field is 
omitted.</td>
</tr>

<tr>
<td nowrap valign="top">label</td>
<td nowrap valign="top">String</td>
<td nowrap valign="top" align="right">&nbsp;</td>
<td>The name that will be assigned to the current frame.</td>
</tr>

<tr>
<td nowrap valign="top">isAnchor</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">8</td>
<td>Will the label be used as an anchor.</td>
</tr>

</table>

<p>The name is assigned to a particular frame when the FrameLabel is 
defined prior to the ShowFrame instruction that displays all the objects on the 
display list. The frame can then be referenced by its name once it has been defined. 
A frame cannot be referenced before the Player has loaded and displayed the 
frame that contains the corresponding FrameLabel.</p>

<h2>History</h2>

<p>FrameLabel represents the FrameLabel tag from the Macromedia Flash 
(SWF) File Format Specification. It was introduced in Flash 3. In Flash 6 the 
label can support named anchors which allows a frame to be specified as the 
starting point when displaying a Flash movie in a web browser.</p>
